{% extends 'front/_layout.html' %}
{% block title %}
<title>首页_杨青个人博客 - 一个站在web前端设计之路的女技术员个人博客网站</title>
<meta name="keywords" content="个人博客,杨青个人博客,个人博客模板,杨青" />
<meta name="description" content="杨青个人博客，是一个站在web前端设计之路的女程序员个人网站，提供个人博客模板免费资源下载的个人原创网站。" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="../../../static/front/css/base.css" rel="stylesheet">
<link href="../../../static/front/css/index.css" rel="stylesheet">
<link href="../../../static/front/css/m.css" rel="stylesheet">
<script src="../../../static/front/js/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" src="../../../static/front/js/hc-sticky.js"></script>
<script type="text/javascript" src="../../../static/front/js/comm.js"></script>
<!--[if lt IE 9]>
<script src="js/modernizr.js"></script>
<![endif]-->
{% endblock %}
{% block contenr %}
  <aside>
  <div class="l_box">
 <div class="search">
      <form action="/front/articles/" method="get" name="searchform" id="searchform">
          <input name="keyboard" id="keyboard" class="input_text" value="" placeholder="请输入关键字词" style="..." type="text">
          <input name="show" value="title" type="hidden">
          <input name="tempid" value="1" type="hidden">
          <input name="tbname" value="news" type="hidden">
          <input name="Submit" class="input_submit" value="搜索" type="submit">
      </form>

        </form>
    </div>
    <div class="fenlei">
          {% load tagViews %}
          {% myArticle %}
    </div>
    <div class="tuijian">
       {% load tagViews %}
          {% mytuijian %}
    </div>
     <div class="tuijian">
     {% load tagViews %}
          {% mypaiming %}
    </div>
<div class="cloud">
        {% load tagViews %}
          {% mybiaoqian %}
    </div>
    <div class="guanzhu">
      <h2>关注我 么么哒</h2>
      <ul>
       <img src="../../../static/front/images/wx.jpg">
      </ul>
    </div>
  </div>
  </aside>
  <div class="r_box">
<main>
     {% for contact in page_obj %}
     <li><i><a href="/"><img src="../../../static/back/{{  contact.picurl }}"></a></i>
          <h3><a href="/front/info?id={{  contact.id }}">{{  contact.title }}</a></h3>
          <p>{{  contact.data }}</p>
        </li>
    {% endfor %}

    <div>
    <div class="pagelist">
     <div class="pagination">
        <span class="step-links">
            {% if page_obj.has_previous %}
                <a href="/front/articles?page=1">第一页</a>
                <a href="/front/articles?page={{ page_obj.previous_page_number }}">上一页</a>
            {% endif %}

            <span class="current">
                <a href="/front/articles?page={{ page_obj.number }}">{{ page_obj.number }}页</a>
            </span>

            {% if page_obj.has_next %}
                <a href="/front/articles?page={{ page_obj.next_page_number }}">下一页</a>
                <a href="/front/articles?page={{ page_obj.paginator.num_pages }}">末尾</a>
             {% endif %}
        </span>
     </div>
   </div>
  </div>
</main>
 </div>

{% endblock %}
